1.1 Learning the Echo rem CD dir command
Learning points:1. Display information: Echo2. Comment Statement: REM3. Directory Switching: CD4. Column File name: dir
One, display information: Echo
Before we learn the echo command, we'll build a new
The echo command is a sub-command of a DOS batch command that everyone is familiar with, but some of its features and usage maybe you don't all know, don't believe you see:1. As a switch that controls whether the batch command displays the command
Frequently-used commands echo, @, call, pause, and REM (TIPS: Use: instead of REM) are the most frequently-used commands for batch file processing. We started from them.
First, @ is not a command, but a special identifier for DOS batch processing.
Run programs & Run command assist Options Access.cplAdd Hardware Wizard Hdwwiz.cplAdd or Remove Programs appwiz.cplManagement Tools Control AdminToolsAutomatic Update w pl.cpl bltooth File Transfer Wizard FsquirtCalculator CalcCertificate Management
Delete a file in a certain format in the directory]
For/r f: \ study % I in (*. o) do del % I
DOS loop: One of the bat/batch processing for commands IN the format of "FOR [parameter] % variable name IN (related file or command)" at a.m: execute
Format: for [parameter]% variable name in (related file or command) do execution command
Function: Executes specific commands on one or a set of files, strings, or on each object in the result of a command to achieve the desired result.Note: When
-- This article comes from TTT blog: http://www.yoyotao.net/ttt/, original address: http://www.yoyotao.net/ttt/post/139.html
Preface:Although it was a bit of research on batch processing in the past, I have never understood the for command
Perform the WMIC command to start the WMIC command line environment. This command can be performed in the standard command-line interpreter (Cmd.exe), Telnet session, or Run dialog box of XP or. NET server. These boot methods can be used locally or
DOS Run Command Manager character DaquanWin Manager Run Command Daquan (DOS Run command under Windows)Nslookup-------IP Address detectorExplorer-------Open Resource ManagerDevmgmt.msc---Device ManagerProgMan--------Program ManagerTaskmgr-----Task
Http://blog.chinaunix.net/uid-26827001-id-3154024.htmlFirst you see a lot of #!/bin/bash that start with this is the shell program that tells the system to interpret this script file# This is a comment line, when the line is validThe script is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.